package com.ktgj.hotel.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;

/**
 * 酒店订单异常对象 hotel_order_exception
 * 
 * @author ruoyi
 * @date 2022-08-29
 */
public class HotelOrderException extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 异常表主键 */
    private Long exceptionId;

    /** 入住人名称 */
    @Excel(name = "入住人名称")
    private String person;

    /** 手机号 */
    @Excel(name = "手机号")
    private String personPhone;

    /** 酒店名称 */
    @Excel(name = "酒店名称")
    private String hotelName;

    /** 预定时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预定时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reserveTime;

    /** 异常错误信息 */
    @Excel(name = "异常错误信息")
    private String exceptionInfo;

    /** 订单来源 */
    @Excel(name = "订单来源")
    private String sourceWay;

    /** 状态（已处理：processed，未处理：untreated） */
    @Excel(name = "状态", readConverterExp = "已=处理：processed，未处理：untreated")
    private String status;

    /** 操作人 */
    @Excel(name = "操作人")
    private Long opreator;

    /** 处理时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "处理时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date opreateTime;

    /** 订单表主键 */
    @Excel(name = "订单表主键")
    private String orderId;

    /** 订单类型（预定：reserve，出票：outTickets） */
    @Excel(name = "订单类型", readConverterExp = "预=定：reserve，出票：outTickets")
    private String orderType;

    /** $column.columnComment */
    @Excel(name = "订单类型", readConverterExp = "$column.readConverterExp()")
    private Long employeeId;

    private Long customerId;

    public Long getCustomerId()
    {
        return customerId;
    }

    public void setCustomerId(Long customerId)
    {
        this.customerId = customerId;
    }

    public void setExceptionId(Long exceptionId)
    {
        this.exceptionId = exceptionId;
    }

    public Long getExceptionId() 
    {
        return exceptionId;
    }
    public void setPerson(String person) 
    {
        this.person = person;
    }

    public String getPerson() 
    {
        return person;
    }
    public void setPersonPhone(String personPhone) 
    {
        this.personPhone = personPhone;
    }

    public String getPersonPhone() 
    {
        return personPhone;
    }
    public void setHotelName(String hotelName) 
    {
        this.hotelName = hotelName;
    }

    public String getHotelName() 
    {
        return hotelName;
    }
    public void setReserveTime(Date reserveTime) 
    {
        this.reserveTime = reserveTime;
    }

    public Date getReserveTime() 
    {
        return reserveTime;
    }
    public void setExceptionInfo(String exceptionInfo) 
    {
        this.exceptionInfo = exceptionInfo;
    }

    public String getExceptionInfo() 
    {
        return exceptionInfo;
    }
    public void setSourceWay(String sourceWay) 
    {
        this.sourceWay = sourceWay;
    }

    public String getSourceWay() 
    {
        return sourceWay;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setOpreator(Long opreator) 
    {
        this.opreator = opreator;
    }

    public Long getOpreator() 
    {
        return opreator;
    }
    public void setOpreateTime(Date opreateTime) 
    {
        this.opreateTime = opreateTime;
    }

    public Date getOpreateTime() 
    {
        return opreateTime;
    }
    public void setOrderId(String orderId) 
    {
        this.orderId = orderId;
    }

    public String getOrderId() 
    {
        return orderId;
    }
    public void setOrderType(String orderType) 
    {
        this.orderType = orderType;
    }

    public String getOrderType() 
    {
        return orderType;
    }
    public void setEmployeeId(Long employeeId) 
    {
        this.employeeId = employeeId;
    }

    public Long getEmployeeId() 
    {
        return employeeId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("exceptionId", getExceptionId())
            .append("person", getPerson())
            .append("personPhone", getPersonPhone())
            .append("hotelName", getHotelName())
            .append("reserveTime", getReserveTime())
            .append("exceptionInfo", getExceptionInfo())
            .append("sourceWay", getSourceWay())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("opreator", getOpreator())
            .append("opreateTime", getOpreateTime())
            .append("orderId", getOrderId())
            .append("orderType", getOrderType())
            .append("employeeId", getEmployeeId())
            .toString();
    }
}
